pinctrl-bcm2835: Return pins to inputs when freed
authorPhil Elwell <phil@raspberrypi.org>
Fri, 6 May 2016 11:32:47 +0000 (12:32 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:28:06 +0000 (17:28 +0000)
commit0a7a398d869d91f11eab2296420685df776196b3
treef2275f725660d952750b9f1e7de3af8b93ef919e
parentd50f76fb9c15da3825676d86c37fc8118cf30d04
pinctrl-bcm2835: Return pins to inputs when freed

When dynamically unloading overlays, it is important that freed pins are
restored to being inputs to prevent functions from being enabled in
multiple places at once.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c